/* ------------------------------------------------------------------
 *   Product:      mybatis
 *   Module Name:  learn
 *   Package Name: learn
 *   Date Created: 2018-09-16
 * ------------------------------------------------------------------
 * Modification History
 * DATE            Name           Contact
 * ------------------------------------------------------------------
 * 2018-09-16      Jie            GloryJie@163.com
 */
package com.gloryjie.learn.model;

import org.apache.ibatis.reflection.Reflector;

import java.io.Serializable;
import java.util.Arrays;

/**
 * @author Jie
 * @since
 */
public class User implements Serializable {

  private Integer id;

  private String name;

  private Integer sex;


  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Integer getSex() {
    return sex;
  }

  public void setSex(Integer sex) {
    this.sex = sex;
  }

  @Override
  public String toString() {
    return "User{" +
        "id=" + id +
        ", name='" + name + '\'' +
        ", sex=" + sex +
        '}';
  }

}
